package com.itheima.mq;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

//@Component
public class RabbitConfirmListener {
    @RabbitListener(queues = "direct.queue1")
    public void listenerDirectQueue1(String message){
        System.out.println("direct.queue1=" + message);
    }
}
